<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,
      shrink-to-fit=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>blog-client-bootstrap</title>
    <link href="./lib/bootstrap.css" rel="stylesheet">
  </head>
  <body>
    <div class="container">
      <nav aria-label="breadcrumb">
        <ol class="breadcrumb">
          <li class="breadcrumb-item" aria-current="page">Home</li>
          <li class="breadcrumb-item" aria-current="page">New</li>
        </ol>
      </nav>
      <form id="newArticle">
        <div class="form-group">
          <label for="exampleInputEmail1">Title</label>
          <input type="text" class="form-control" name="title" value=""
            aria-describedby="emailHelp" placeholder="title">
        </div>
        <div class="form-group">
          <label for="exampleInputPassword1">Content</label>
          <textarea class="form-control" name="content" value=""
            placeholder="content"></textarea>
        </div>
        <!-- <div class="form-check">
          <input type="checkbox" class="form-check-input" id="exampleCheck1">
          <label class="form-check-label" for="exampleCheck1">Check me out</label>
        </div> -->
        <button type="submit" class="btn btn-primary">Submit</button>
      </form>
      <br>
      <br>
      <div class="alert alert-success" role="alert" style="display: none;">
        Submit success, please waite...
      </div>
      <div class="alert alert-danger" role="alert" style="display: none;">
        Submit failed!
      </div>
      <div class="alert alert-warning" role="alert" style="display: none;">
        Please login first.
      </div>
    </div>

    <script src="./lib/jquery.js"></script>
    <script src="./lib/bootstrap.js"></script>
    <script src="./js/new.js" type="module"></script>
  </body>
</html>
